package com.zhx.jpa.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author zhanghaixuan
 * @create 2018/1/24-下午2:08
 **/
@Entity
public class UserWeb extends UserBase {

    @Id
    private Long id;

    private String userName;

    private String sex;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
